<!--
  Generated template for the RepairInfoPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title>维修</ion-title>
  </ion-navbar>

</ion-header>


<ion-content class="repairinfo">
  <ion-list>
    <ion-item style="margin-bottom: 5px;">
      <ion-label>报修时间:</ion-label>
      <!--<ion-datetime placeholder="请选择时间" displayFormat="YYYY-MM-DD HH:mm:ss" [(ngModel)]="repairInfoBean.reportDate" cancelText="取消" doneText="确认"></ion-datetime>-->
      <ion-input type="text" disabled="true" [(ngModel)]="repairInfoBean.reportDate"></ion-input>
    </ion-item>
    <!--<ion-item>-->
    <!--<ion-label>修复时间:</ion-label>-->
    <!--<ion-datetime displayFormat="YYYY-MM-DD HH:mm:ss" [(ngModel)]="repairInfoBean.resolveDate" cancelText="取消" doneText="确认"></ion-datetime>-->
    <!--</ion-item>-->

    <!-- <ion-item>
      <ion-label>电梯编号:</ion-label>
      <ion-input type="text" [(ngModel)]="repairInfoBean.elevatorNum"></ion-input>
    </ion-item>
    <ion-item>
      <ion-label>电梯id:</ion-label>
      <ion-input type="text" [(ngModel)]="repairInfoBean.elevatorId"></ion-input>
    </ion-item> -->
    <div class="area">
      <div class="content">
        <p>故障描述:</p>
        <ion-textarea rows="5" type="text" [(ngModel)]="repairInfoBean.faultDescription"></ion-textarea>
      </div>
    </div>
    <div class="area">
      <div class="content">
        <p>原因及处理方式:</p>
        <ion-textarea rows="5" type="text" [(ngModel)]="repairInfoBean.reason"></ion-textarea>
      </div>
    </div>
    <div class="area">
      <div class="content">
        <p>更换的配件及耗材:</p>
        <ion-textarea rows="5" type="text" [(ngModel)]="repairInfoBean.replaceParts"></ion-textarea>
      </div>
    </div>
    <ion-item>
      <ion-label>维修费用/元:</ion-label>
      <ion-input type="text"  placeholder="必填，无费用可填 0" [(ngModel)]="repairInfoBean.repairCost"></ion-input>
    </ion-item>
    <div class="area">
      <div class="content">
        <p>备注:</p>
        <ion-textarea rows="5" type="text" [(ngModel)]="repairInfoBean.remarks"></ion-textarea>
      </div>
    </div>


  </ion-list>

  <div class="areasign">
    <p style="line-height: 18px; font-size: 14px;">
      <img style="vertical-align: middle; display: inline-block; width: 18px; margin-right: 4px;" src="assets/icon/icon_remind.png">请在签完名后点击保存</p>
    <signatrue [inValue]="time" (outPut)="getImgUrl($event)"></signatrue>
  </div>
  <button ion-button (click)="send()" class="submit">确定</button>
</ion-content>